package com.chaosj.memory.handlers;

import com.chaosj.webmagic.dto.SearchRequestDto;

/**
 * @className: LexiconHandler
 * @description:
 * @author: caoyangjie
 * @date: 2021/8/12
 **/
public class PoemChinaHandler extends GuShiWenHandler {

    @Override
    public String name() {
        return "searchp";
    }

    @Override
    public SearchRequestDto cmd2Dto(String[] args) {
        return new SearchRequestDto().setType(6).setSearch(args[1]);
    }
}
